#include "stdafx.h"

extern "C" __declspec(dllexport) MzPopupMenu* MzPopupMenuCtor()
{
	return new MzPopupMenu();
}

extern "C" __declspec(dllexport) void MzPopupMenuDispose(MzPopupMenu* pObj)
{
	delete pObj;
}

extern "C" __declspec(dllexport) bool MzPopupMenuAppendMenuItem(MzPopupMenu* pObj, UINT uIDNewItem, LPCTSTR lpNewItem)
{
	return pObj->AppendMenuItem(uIDNewItem, lpNewItem);
}

extern "C" __declspec(dllexport) UINT MzPopupMenuMzTrackPopupMenu(MzPopupMenu* pObj, HWND  hWnd, BOOL  bUseCanelButton) 
{
	return pObj->MzTrackPopupMenu(hWnd, bUseCanelButton);
}